//引入conf.jsx
var conf = require('../conf.jsx');
var RenderMethod = require('../mixins/rendermethod.jsx');
//定义Home组件
module.exports = React.createClass({
    //初始化状态数据
    getInitialState:function () {
        return{
            data : conf.DATABASE
        }
    },
    //使用混合
    mixins:[RenderMethod],
    //渲染
    render:function () {
        return(
            <section className="page">
                <div className="container">
                    <ul>{this.createList()}</ul>
                </div>
            </section>
        )
    }
})